#ifndef PNG_MAINMENU_H_INCLUDED
#define PNG_MAINMENU_H_INCLUDED

typedef struct{
    SDL_Surface *def_button;
    SDL_Surface *hov_button;
    SDL_Surface *act_button;
    SDL_Rect src;
    SDL_Rect dest;
////0 pour def_button, 1 pour hov_button et 2 pour act_button
    int state;
    char action;
}bouton;

void update_button_state(bouton T[], int n);

char get_menu_event(bouton T[], int n);

char PNG_MainMenu(SDL_Surface *screen);

#endif // PNG_MAINMENU_H_INCLUDED
